package com.sh.data.engine.application.model.dto.dataquality;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author tinglan.ys
 * @description:
 * @date 2022/3/29 下午4:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema
public class DataQualityTableInfoResponse {

    /**
     * 表id
     */
    @Schema(description = "表id")
    private Long tblId;

    /**
     * 表名
     */
    @Schema(description = "表名")
    private String tableName;

    /**
     * 表描述
     */
    @Schema(description = "表描述")
    private String comment;

    /**
     * 模式
     */
    @Schema(description = "模式")
    private String schema;

    /**
     * 规则数
     */
    @Schema(description = "规则数")
    private Integer ruleNum;

    /**
     * 是否有分区 0-没有 1-有
     */
    @Schema(description = "是否有分区")
    private Integer hasPartition;

    /**
     * 访问权限
     */
    @Schema(description = "访问权限 0-只读 1—读写 2-无读写权限")
    private String accessMode;

    /**
     * 主题id
     */
    @Schema(description = "主题id")
    private String themeId;
}
